package com.jasen.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 开启@EnableEurekaClient,需在DeptController_Consumer类中配置按名字访问的微服务
 *  private static final String REST_URL_PREFIX = "http://MICROSERVICECLOUD-DEPT"; //起初该地址为：http://localhost:8001
 */
@SpringBootApplication
@EnableEurekaClient
public class DeptConsumer80_App
{
    public static void main( String[] args )
    {
        SpringApplication.run(DeptConsumer80_App.class, args);
    }
}
